package com.zx.system.block.dao;

import com.zx.system.block.model.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDeptMapper {
    int deleteByPrimaryKey(@Param("id") String id);

    int insert(SysDept row);

    int insertSelective(SysDept row);

    SysDept selectByPrimaryKey(@Param("id") String id);

    int updateByPrimaryKeySelective(SysDept row);

    int updateByPrimaryKey(SysDept row);

    List<SysDept> selectDeptList(SysDept row);

    List<SysDept> selectDeptByParentId(@Param("parentId") String parentId);
}